.class Lcom/zuimeia/ui/tag/enhance/TagRecyclerView$TagRecyclerViewAdapter$1;
.super Ljava/lang/Object;
.source "TagRecyclerView.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/zuimeia/ui/tag/enhance/TagRecyclerView$TagRecyclerViewAdapter;->onBindViewHolder(Lcom/zuimeia/ui/tag/enhance/TagRecyclerView$TagRecyclerViewAdapter$ViewHolder;I)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$1:Lcom/zuimeia/ui/tag/enhance/TagRecyclerView$TagRecyclerViewAdapter;

.field final synthetic val$tagModel:Lcom/zuimeia/ui/tag/enhance/EnhanceTagModel;


# direct methods
.method constructor <init>(Lcom/zuimeia/ui/tag/enhance/TagRecyclerView$TagRecyclerViewAdapter;Lcom/zuimeia/ui/tag/enhance/EnhanceTagModel;)V
    .registers 3
    .param p1, "this$1"    # Lcom/zuimeia/ui/tag/enhance/TagRecyclerView$TagRecyclerViewAdapter;

    .prologue
    .line 269
    iput-object p1, p0, Lcom/zuimeia/ui/tag/enhance/TagRecyclerView$TagRecyclerViewAdapter$1;->this$1:Lcom/zuimeia/ui/tag/enhance/TagRecyclerView$TagRecyclerViewAdapter;

    iput-object p2, p0, Lcom/zuimeia/ui/tag/enhance/TagRecyclerView$TagRecyclerViewAdapter$1;->val$tagModel:Lcom/zuimeia/ui/tag/enhance/EnhanceTagModel;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .registers 4
    .param p1, "v"    # Landroid/view/View;

    .prologue
    .line 272
    invoke-virtual {p1}, Landroid/view/View;->isSelected()Z

    move-result v0

    if-nez v0, :cond_22

    .line 273
    const/4 v0, 0x1

    invoke-virtual {p1, v0}, Landroid/view/View;->setSelected(Z)V

    .line 274
    iget-object v0, p0, Lcom/zuimeia/ui/tag/enhance/TagRecyclerView$TagRecyclerViewAdapter$1;->this$1:Lcom/zuimeia/ui/tag/enhance/TagRecyclerView$TagRecyclerViewAdapter;

    iget-object v0, v0, Lcom/zuimeia/ui/tag/enhance/TagRecyclerView$TagRecyclerViewAdapter;->this$0:Lcom/zuimeia/ui/tag/enhance/TagRecyclerView;

    # getter for: Lcom/zuimeia/ui/tag/enhance/TagRecyclerView;->mOnTagChangeListener:Lcom/zuimeia/ui/tag/enhance/TagRecyclerView$OnTagChangeListener;
    invoke-static {v0}, Lcom/zuimeia/ui/tag/enhance/TagRecyclerView;->access$600(Lcom/zuimeia/ui/tag/enhance/TagRecyclerView;)Lcom/zuimeia/ui/tag/enhance/TagRecyclerView$OnTagChangeListener;

    move-result-object v0

    if-eqz v0, :cond_21

    .line 275
    iget-object v0, p0, Lcom/zuimeia/ui/tag/enhance/TagRecyclerView$TagRecyclerViewAdapter$1;->this$1:Lcom/zuimeia/ui/tag/enhance/TagRecyclerView$TagRecyclerViewAdapter;

    iget-object v0, v0, Lcom/zuimeia/ui/tag/enhance/TagRecyclerView$TagRecyclerViewAdapter;->this$0:Lcom/zuimeia/ui/tag/enhance/TagRecyclerView;

    # getter for: Lcom/zuimeia/ui/tag/enhance/TagRecyclerView;->mOnTagChangeListener:Lcom/zuimeia/ui/tag/enhance/TagRecyclerView$OnTagChangeListener;
    invoke-static {v0}, Lcom/zuimeia/ui/tag/enhance/TagRecyclerView;->access$600(Lcom/zuimeia/ui/tag/enhance/TagRecyclerView;)Lcom/zuimeia/ui/tag/enhance/TagRecyclerView$OnTagChangeListener;

    move-result-object v0

    iget-object v1, p0, Lcom/zuimeia/ui/tag/enhance/TagRecyclerView$TagRecyclerViewAdapter$1;->val$tagModel:Lcom/zuimeia/ui/tag/enhance/EnhanceTagModel;

    invoke-interface {v0, v1}, Lcom/zuimeia/ui/tag/enhance/TagRecyclerView$OnTagChangeListener;->onTagSelected(Lcom/zuimeia/ui/tag/enhance/EnhanceTagModel;)V

    .line 283
    :cond_21
    :goto_21
    return-void

    .line 278
    :cond_22
    const/4 v0, 0x0

    invoke-virtual {p1, v0}, Landroid/view/View;->setSelected(Z)V

    .line 279
    iget-object v0, p0, Lcom/zuimeia/ui/tag/enhance/TagRecyclerView$TagRecyclerViewAdapter$1;->this$1:Lcom/zuimeia/ui/tag/enhance/TagRecyclerView$TagRecyclerViewAdapter;

    iget-object v0, v0, Lcom/zuimeia/ui/tag/enhance/TagRecyclerView$TagRecyclerViewAdapter;->this$0:Lcom/zuimeia/ui/tag/enhance/TagRecyclerView;

    # getter for: Lcom/zuimeia/ui/tag/enhance/TagRecyclerView;->mOnTagChangeListener:Lcom/zuimeia/ui/tag/enhance/TagRecyclerView$OnTagChangeListener;
    invoke-static {v0}, Lcom/zuimeia/ui/tag/enhance/TagRecyclerView;->access$600(Lcom/zuimeia/ui/tag/enhance/TagRecyclerView;)Lcom/zuimeia/ui/tag/enhance/TagRecyclerView$OnTagChangeListener;

    move-result-object v0

    if-eqz v0, :cond_21

    .line 280
    iget-object v0, p0, Lcom/zuimeia/ui/tag/enhance/TagRecyclerView$TagRecyclerViewAdapter$1;->this$1:Lcom/zuimeia/ui/tag/enhance/TagRecyclerView$TagRecyclerViewAdapter;

    iget-object v0, v0, Lcom/zuimeia/ui/tag/enhance/TagRecyclerView$TagRecyclerViewAdapter;->this$0:Lcom/zuimeia/ui/tag/enhance/TagRecyclerView;

    # getter for: Lcom/zuimeia/ui/tag/enhance/TagRecyclerView;->mOnTagChangeListener:Lcom/zuimeia/ui/tag/enhance/TagRecyclerView$OnTagChangeListener;
    invoke-static {v0}, Lcom/zuimeia/ui/tag/enhance/TagRecyclerView;->access$600(Lcom/zuimeia/ui/tag/enhance/TagRecyclerView;)Lcom/zuimeia/ui/tag/enhance/TagRecyclerView$OnTagChangeListener;

    move-result-object v0

    iget-object v1, p0, Lcom/zuimeia/ui/tag/enhance/TagRecyclerView$TagRecyclerViewAdapter$1;->val$tagModel:Lcom/zuimeia/ui/tag/enhance/EnhanceTagModel;

    invoke-interface {v0, v1}, Lcom/zuimeia/ui/tag/enhance/TagRecyclerView$OnTagChangeListener;->onTagRemoved(Lcom/zuimeia/ui/tag/enhance/EnhanceTagModel;)V

    goto :goto_21
.end method
